package com.ruoyi.accountant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Device {
    private Long did;
    private String dname;
    private String dcode;
    private BigDecimal money;
    private Integer canUse;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date startdate;
    private Integer dcount;
    private Date createtime;
    private Integer deprecatedMonth;
    private Integer finished;
    private Long ofAccount;
    private Integer ofCurrency;
    private Long ofCompany;
}